Fixes positioning bug