fixed RELATIVE_FROM_TOPRIGHT