Added basic collision test for GUI.