Applied strict-aliasing fix from trailblazerz's commit @3c5ec8d73f8c8dd2b2b84d999c8ad4911566c079