Changed Button to ImageButton. And changed cursorPosition.