Found cause of a weird bug to be Javascript/html related.