Fix 3D floor sides not rendering properly if a light list was involved Closes #1207 and #1204 See merge request !2373