Fixes Alignment Glitch

Fixes #2935

fwiw, I like `let test = CGFloat(10)` Its super clean looking and the cast takes care of type inference.