fix: magiclamp effect wrong direction.

Merged wang xinbo requested to merge (removed):master into master

if the dock is on the top,and the dock is not close together with screen edge. for example,the dock is 10 pixels taller then sceen edge,the "position" will be "Bottom". Autually,the dock is on the top of screen.

Edited by wang xinbo

Merge request reports