Fix for FillRect function.

Fix for FillRect function.