Fixed drag/resie issue