fixed line rotation
added rectangular element point snapping for top, right, bottom and left
location snapping cleanups