Patch 11

Fixed Buttons and GameObjects not removing themselves properly when the
clear() function was called.