fixed selection bug and cause was not accounting for camera