Is image stabilization turned on? If you have a tripod or solid surface to set it on, try a longer exposure (slower shutter speed).
Otherwise, you're simply going to need better lighting or live with the built-in flash making the background dark. That is a trade-off of having a pocket-sized camera.