Imaging performance of a GaAs pixel detector