Merge "Fixed bug with wrong task bounds when device is rotated 180°"