Fixes #5515. Reviewed By: elexis Differential Revision: https://code.wildfiregames.com/D2091 This was SVN commit r22500.