Fix positioning with predefined constants