Fixed inverted angle when height = 0