Fix position calculation

When object height is lower than 33px value with double minus is incorrectly returned