Police are investigating after photos of two young people posing with an altered version of the Singapore flag spread online.