prevent placing collisions

Conflicts:
	src/main/scala/RayTracer.scala
repaint only whan the data is changed

Conflicts:
	src/main/scala/RayTracer.scala