Fix adjustPosition and _getLeftTopCoords