added boundary for all objects and cursor