Weird issue with while loop ending/being skipped

Printable View