added a bit of logic to keep the shapes from moving outside of the container
added a bit of logic to keep the shapes from moving outside of the container

tommy-u/enable,tommy-u/enable,tommy-u/enable,tommy-u/enable