Fix #6: tile selector constrained to palette bounds

This solution could/should be improved if this class would use more of the methods of its superclass (set_width_in_tiles, etc.).