Fixed issue in fillFrame() introduced in last commit