collision detect works properly with Vec2