Alternative method to align objects